# -*- coding: utf-8 -*-
# @Time    : 2024/9/11 下午8:57
# @Author  : liujun
# @Email   : 2592730854@qq.com
# @File    : datas.py
# @Software: PyCharm

"""
封装获取测试数据方法
"""

import yaml

def get_data(file):
    """根据yaml文件返回数据"""
    with open(file,encoding='utf-8') as f:
        return yaml.safe_load(f)
